package com.nuoniu.sibanyun.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("会计期间VO")
public class ErpProcessRouteDetailVo extends BaseEntity {

    @ApiModelProperty(value = "工序名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "工序编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "默认车间id")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "默认车间名称")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "默认班组id")
    @TableField("team_id")
    private Integer teamId;

    @ApiModelProperty(value = "默认班组名字")
    @TableField("team_name")
    private String teamName;

    @ApiModelProperty(value = "默认工位id")
    @TableField("station_id")
    private Integer stationId;

    @ApiModelProperty(value = "默认工位名字")
    @TableField("station_name")
    private String stationName;


    @ApiModelProperty(value = "标准工时")
    @TableField("std_time")
    private BigDecimal stdTime;

    @ApiModelProperty(value = "工时价格(小时)")
    @TableField(value = "work_hour_price", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal workHourPrice;

    @ApiModelProperty(value = "合格品价格")
    @TableField(value = "qualified_price", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal qualifiedPrice;

    @ApiModelProperty(value = "返修品价格")
    @TableField(value = "rework_price", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal reworkPrice;

    @ApiModelProperty(value = "报废品价格")
    @TableField(value = "scrap_price", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal scrapPrice;

    @ApiModelProperty(value = "计价依据")
    @TableField("price_basis")
    private String priceBasis;

    @ApiModelProperty(value = "是否关键工序")
    @TableField("is_key_process")
    private Integer isKeyProcess;


    @ApiModelProperty(value = "工艺路线_工序明细ID")
    private Integer processRouteDetailId;

    @ApiModelProperty(value = "工艺id")
    @TableField("pr_id")
    private Integer prId;

    @ApiModelProperty(value = "加工顺序")
    @TableField("work_order")
    private Integer workOrder;


    @ApiModelProperty(value = "工序标识1:首工序2:尾工序3:中间工序")
    @TableField("work_flag")
    private Integer workFlag;

    @ApiModelProperty(value = "加工方式1:自制2:委外")
    @TableField("process_method")
    private Integer processMethod;

    @ApiModelProperty(value = "工艺要求")
    @TableField("process_require")
    private String processRequire;

    @ApiModelProperty(value = "工资类型1:计件2:计时3:不核算")
    @TableField("wages_type")
    private Integer wagesType;

    @ApiModelProperty(value = "检验方式 1:免检2:过程检验3:完工检验")
    @TableField("inspect_method")
    private Integer inspectMethod;

    @ApiModelProperty(value = "质检标准")
    @TableField("quality_standard")
    private String qualityStandard;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;


}
